import Vue from 'vue';
import VueRouter from 'vue-router';

import routes from '@/common/config/router';

Vue.use(VueRouter);

export default new VueRouter({
    mode: 'hash',
    base: process.env.BASE_URL,
    routes
});